const db=uniCloud.database()
exports.main = async (event, context) => {
	let { id, editFormData } = event
	return await db.collection("user").doc(id).update({
    nickName: editFormData.nickName,
    brith: editFormData.brith,
    sex: editFormData.sex,
    userPic: editFormData.userPic
  })
};
